package kr.couponplay.android.activity.search;

import android.view.View;
import android.view.View.OnClickListener;

public class SearchSubMenuButtonOnClickListener implements OnClickListener {
	private SearchActivity activity;
	
	public SearchSubMenuButtonOnClickListener(SearchActivity activity) {
		this.activity = activity;
	}
	
	@Override
	public void onClick(View view) {
		SearchSubMenuHelper.drawSelectButton(view);
		activity.searchListViewPager.setCurrentItem(SearchSubMenuHelper.getPosition(view));
	}
}
